#pragma once


// CDlgLogin dialog

class CDlgLogin : public CDialogEx
{
	DECLARE_DYNAMIC(CDlgLogin)
	CLog m_User;
public:
	CDlgLogin(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDlgLogin();

// Dialog Data
	enum { IDD = IDD_DLG_LOGIN };

	CString m_strAdministrator;
	CString m_strOperator;
	CString m_strAdPassword;
	CEdit m_strPassword;
	CString m_strOpPassword;
	CString m_strProgramerPassword;
	int m_iPower;
	CString m_strFilePath;
	CEdit	m_editPower;
	CComboBox	m_comboUser;
	static CString gStrUserName;
	static CString gStrGroupInfo;
	static CString gStrPassWord;
	static int	gAuthority;

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnBnClickedBtnModifypw();
	afx_msg void OnCbnSelchangeComboUsername();
	afx_msg void OnBnClickedBtnUsermanagement();
	afx_msg void OnCbnSelendokComboUsername();
};
